package com.yuanheng100.ems4j.common.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by j4love on 2016/12/13.
 * Description :
 */
public enum DingIsHide
{

    TRUE((short) 0, "是"),
    FALSE((short) 1, "否");

    public Short code;
    public String name;
    public static Map<Short, DingIsHide> dingMap = new HashMap<Short, DingIsHide>();

    static
    {
        for (DingIsHide dingIsHide : DingIsHide.values())
        {
            dingMap.put(dingIsHide.code, dingIsHide);
        }

    }

    DingIsHide(Short code, String name)
    {
        this.code = code;
        this.name = name;
    }
}
